﻿@{
    ViewBag.Title = "Index2";
}

@using System.Diagnostics;
@using System.IO;

@using LogsDownload.Models

@model List<EventLog>




<h2>Index2</h2>
<h3>Windows logs:</h3>
<p>
    <a href="~/TextFile1.txt"></a>
   
    @foreach (EventLog e in @Model)
    {
       
    
       string _path = String.Concat("/Home/DownloadLogWithName/", e.Log);

        <a href="@String.Concat("/Home/DownloadLogWithName/", e.Log)">@e.LogDisplayName</a>

        <br />
    }
</p>